<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
	<head>
		<title>Konami Example</title>
		<script type="text/javascript" src="jquery.min.js"></script>
		<script type="text/javascript" src="konami.js"></script>
		<script type="text/javascript">
			$(function(){
				konami.addConfig({
					fn : function(){
						$('body').css('background-color', 'pink');
					},
					code : 'konami'
				}).addConfig({
					fn : function(){
						$('body').css('background-color', 'white');
					},
					code : '2713'
				}).listen();
			});
		</script>
	</head>
	<body>
		<h1>Konami Example</h1>
		<p>To start: up, up, down, down, left, right, left, right, b, a, enter</p>
		<p>To end: esc, enter</p>
	</body>
</html>